//
//  UITextField+Style.h
//  YDGJ
//
//  Created by Luke on 16/6/22.
//  Copyright © 2016年 Galaxy360. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UITextField (Style)

/** 左边文字 */
@property (nonatomic, copy) NSString *leftText;

/** 左边图片 */
@property (nonatomic, strong) UIImage *leftImage;

/** 占位文字 */
@property (nonatomic, copy) NSString *PlaceholderText;

/** 设置右侧按钮是否可点击 */
@property (nonatomic, assign) BOOL rightViewEnable;

/**
 *  设置统一外观风格
 */
- (void)addBorderStyle;

/**
 *  添加右侧按钮,返回点击回调
 */
- (UIButton *)setRightViewTitle:(NSString *)title touchBlock:(void(^)(UIButton *))block;
/** 快速创建*/
+(UITextField *)textfieldWithPlaceholder:(NSString *)placeholder;

@end
